package cn.wolfcode.luowowo.search.service;

import cn.wolfcode.luowowo.search.template.DestinationTemplate;
import cn.wolfcode.luowowo.search.template.TravelTemplate;
import cn.wolfcode.luowowo.search.template.UserInfoTemplate;

import java.util.List;

/**
 * Created by LENOVO on 2019/8/17.
 */
public interface ITravelTemplateSearchService {
    /**
     * 新增或者修改
     * @param template
     */
    void saveOrUpdate(TravelTemplate template);

    /**
     * 目的地查询游记集合
     * @param name
     * @return
     */
    List<TravelTemplate> findByDestName(String name);
}
